// ------------ 登录模块接口api ------------
import http from "./httpRequest"
//登录
export function login(param){
    return http.request({
        method:"post",
        url:"/api/user/loginBody",
        data:param
    })
}
//获取用户列表
export function getUserList(pageNo,pageSize,userName){
    return http.request({
        method:"get",
        url:"/api/user/getUserList?pageNo="+pageNo+"&pageSize="+pageSize+"&userName="+userName,
        data:{}
    })
}
//注册
export function register(param){
    return http.request({
        method:"post",
        url:"/api/user/register",
        data:param
    })
}